<template>
  <router-view></router-view>



</template>

<script>
export default {
  name: "ShaneHome"
};
</script>

<style scoped>
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.zhihu-home {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #0084ff;
}

nav ul {
  list-style-type: none;
  display: flex;
}

nav ul li {
  margin-left: 10px;
}

nav ul li a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0084ff;
}

main {
  display: flex;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 14px;
  color: #222;
}

.article-list {
  list-style-type: none;
  padding: 0;
}

.article-item {
  display: flex;
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-image {
  width: 120px;
  height: 80px;
  margin-right: 16px;
  overflow: hidden;
  border-radius: 4px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #222;
}

.article-summary {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.topic-list {
  list-style-type: none;
  padding: 0;
}

.topic-item {
  margin-bottom: 10px;
}

.topic-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.topic-item a:hover {
  color: #0084ff;
}

footer {
  margin-top: 40px;
  text-align: center;
  color: #999;
}
</style>
